Product Code Database
Example Keywords: world of -smartphones $77-189
   » » Wiki: Transport Layer
Tag Wiki 'Transport Layer'.
Tag

In computer networking, the transport layer is an abstraction layer in a that provides communication services between applications. Depending on the protocol, these services may include connection-oriented communication, reliable and ordered delivery, flow control, congestion control, and the of communication between applications.

The transport layer is defined in both the Internet protocol suite and the , although the functions assigned to it differ between the two architectures. In the OSI model, the transport layer is Layer 4 ( L4). The layers of the Internet protocol suite are not formally numbered.

The principal transport protocols of the Internet protocol suite are the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP). TCP provides a connection-oriented, reliable service, while UDP provides a connectionless service with fewer protocol mechanisms. Other transport protocols include the Stream Control Transmission Protocol (SCTP) and the Datagram Congestion Control Protocol (DCCP). Newer transport protocols, such as , may be implemented over UDP.


Services
Transport layer services are conveyed to an application via a programming interface to the transport layer protocols. The services may include the following features:
  • Connection-oriented communication: It is normally easier for an application to interpret a connection as a rather than having to deal with the underlying connection-less models, such as the model of the User Datagram Protocol (UDP) and of the Internet Protocol (IP).
  • Same order delivery: The network layer doesn't generally guarantee that packets of data will arrive in the same order that they were sent, but often this is a desirable feature. This is usually done through the use of segment numbering, with the receiver passing them to the application in order. This can cause head-of-line blocking.
  • Reliability: Packets may be lost during transport due to network congestion and errors. By means of an error detection code, such as a , the transport protocol may check that the data is not corrupted, and verify correct receipt by sending an ACK or message to the sender. Automatic repeat request schemes may be used to retransmit lost or corrupted data.
  • Flow control: The rate of data transmission between two nodes must sometimes be managed to prevent a fast sender from transmitting more data than can be supported by the receiving , causing a buffer overrun. This can also be used to improve efficiency by reducing .
  • Congestion avoidance: Congestion control can control traffic entry into a telecommunications network, so as to avoid congestive collapse by attempting to avoid oversubscription of any of the processing or capabilities of the intermediate nodes and networks and taking resource reducing steps, such as reducing the rate of sending packets. For example, automatic repeat requests may keep the network in a congested state; this situation can be avoided by adding congestion avoidance to the flow control, including slow start. This keeps the bandwidth consumption at a low level in the beginning of the transmission, or after packet retransmission.
  • : Ports can provide multiple endpoints on a single node. For example, the name on a postal address is a kind of multiplexing and distinguishes between different recipients of the same location. Computer applications will each listen for information on their own ports, which enables the use of more than one at the same time. It is part of the transport layer in the TCP/IP model, but of the in the OSI model.


Analysis
In the Internet protocol suite, transport-layer protocols provide communication between application programs running on different hosts. TCP uses port numbers to identify application services and to multiplex distinct flows between hosts; UDP similarly defines source and destination port fields, with the destination port interpreted in the context of a particular Internet destination address. A socket address combines an Internet address with a transport-layer port; in TCP, a connection is identified by a pair of sockets.

TCP provides a connection-oriented, reliable, in-order byte-stream service. The application byte stream is carried over the network in TCP segments, each sent as an IP datagram; TCP reliability is based on sequence numbers, checksums, acknowledgments, and retransmission of lost or corrupted segments. TCP also includes flow-control mechanisms based on advertised windows, and TCP endpoints are required to implement basic congestion-control algorithms such as slow start, congestion avoidance, and exponential backoff of retransmission timeouts.

UDP provides a minimal, connectionless, message-oriented transport service. describes UDP as providing a procedure for application programs to send messages with a minimum of protocol mechanism, without guarantees of delivery or duplicate protection; applications that require ordered, reliable streams of data are directed to use TCP instead. similarly describes UDP as a minimal, unreliable, best-effort message-passing transport, and notes that applications using UDP may need to implement additional mechanisms for reliability, congestion control, checksums, or other functions depending on their use case.

UDP is also commonly used for multicast and broadcast applications, but such uses complicate congestion control, flow control, and reliability because a sender may transmit to many receivers over heterogeneous paths. The IETF has defined reliable multicast frameworks and building blocks, so reliability is not impossible for multicast applications; rather, it is not provided by UDP itself and must be supplied by the application or by additional protocols.

The OSI connection-mode transport protocol specification defines five classes of transport protocol, designated class 0 (TP0) through class 4 (TP4). Class 0 provides no error recovery and was designed for use over network services that provide error-free connections, while class 4 includes error recovery and can operate over less reliable network services.

Due to protocol ossification, TCP and UDP have been described as the only widely used transport protocols on the Internet. To avoid intolerance, new transport protocols may mimic the wire image of a tolerated protocol, or be encapsulated in UDP, accepting some overhead. follows the latter approach: the QUIC specification defines it as a UDP-based transport protocol whose packets are carried in UDP datagrams, while QUIC itself provides connections, streams, reliable delivery, flow control, and congestion control.


Protocols
This list shows some protocols that are commonly placed in the transport layers of the Internet protocol suite, the , 's IPX/SPX, , and .

  • ATP,
  • CUDP,
  • DCCP, Datagram Congestion Control Protocol
  • FCP, Fibre Channel Protocol
  • IL,
  • MPTCP,
  • NORM, NACK-Oriented Reliable Multicast
  • RDP, Reliable Data Protocol
  • RUDP, Reliable User Datagram Protocol
  • SCTP, Stream Control Transmission Protocol
  • SPX, Sequenced Packet Exchange
  • SST, Structured Stream Transport
  • TCP, Transmission Control Protocol
  • UDP, User Datagram Protocol
  • μTP, Micro Transport Protocol


Comparison of Internet transport layer protocols
Packet header size8 bytes8 bytes20–60 bytes50–90 bytes12 bytes12 or 16 bytes14+ bytes
Typical data-packet overhead8 bytes8 bytes20 bytes?? bytes44–48+ bytes12 or 16 bytes14 bytes
Transport-layer packet entityDatagramDatagramSegmentSegmentDatagramDatagramDatagram
Connection-oriented
Reliable transport
Unreliable transport
Preserve message boundary
DeliveryUnorderedUnorderedOrderedOrderedOrdered / UnorderedUnorderedUnordered
Data
Checksum size16 bits16 bits16 bits16 bits32 bits16 bits16 bits
Partial
Path MTU
Flow control
Congestion control
Explicit Congestion Notification
Multiple streams
Bundling / Nagle


Comparison of OSI transport protocols
ISO/IEC 8073/ITU-T Recommendation X.224, "Information Technology - Open Systems Interconnection - Protocol for providing the connection-mode transport service", defines five classes of connection-mode transport protocols designated class 0 (TP0) to class 4 (TP4). Class 0 contains no error recovery and was designed for use on network layers that provide error-free connections. Class 4 is closest to TCP, although TCP contains functions, such as the graceful close, which OSI assigns to the session layer. All OSI connection-mode protocol classes provide expedited data and preservation of record boundaries. Detailed characteristics of the classes are shown in the following table:

Connection-oriented network
Connectionless network
Concatenation and separation
Segmentation and reassembly
Error recovery
Reinitiate connection (if an excessive number of PDUs are unacknowledged)
Multiplexing and demultiplexing over a single
Explicit flow control
Retransmission on timeout
Reliable Transport Service

There is also a connectionless transport protocol, specified by ISO/IEC 8602/ITU-T Recommendation X.234.


Bibliography
Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs
1s Time